<template>
  <div>
    <h1 v-if="error.statusCode === 404">⻚⾯不存在</h1>
    <h1 v-else>应⽤发⽣错误异常</h1>
    <p>{{error}}</p>
    <nuxt-link to="/">⾸ ⻚</nuxt-link>
  </div>
</template>
<script>
export default {
  props: ["error"],
  layout: 'blank'
};
</script>
